<!DOCTYPE html>
<html>
<head>
    <title>平涛</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/weui.min.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/jquery-weui.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/style.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/aui-iconfont.css">
    <style type="text/css">
        .weui_panel:after{border-bottom: none !important;}
    </style>
</head>


<body ontouchstart>

    <div class="weui_tab">
        <div class="weui_navbar weui_navbar1">
            <div class="weui_navbar_item weui_bar_item_on">
                <div style="text-align:left;float:left">
                    <a href='javascript:history.go(-1)'>
                        <span class="aui-iconfont aui-icon-left"></span>
                    </a>
                </div>
                <span>工作总结</span>
                <div class="f-r">
                    <a href="{:U('Work/add')}">
                        <span class="weui_tabbar_label aui-iconfont aui-icon-add"></span>
                    </a>
                </div>
            </div>
        </div>

        <div class="weui_tab_bd">
            <div class="zj">
                <span>总结日期：</span>
                <span>{$workArr.date}</span>
            </div>
            <div class="zj m-t1">
                <p>
                    <p>总结内容：</p>
                    <p class="l-h1">
                        {$workArr.content|default="无"}
                    </p>
                </p>
            </div>
            <if condition="$date eq $workArr['date'] && $Think.session.wechat.userid eq $workArr['uid']">
                <div class="text-cen"><a href="{:U('Work/edit',array('id'=>$workArr['id']))}" style="color:blue;">修改</a></div>
            </if>
        </div>

        <include file="Index/footer" />

    </div>


    <script src="__PUBLIC__/Wechat/js/jquery-2.1.4.js"></script>
    <script src="__PUBLIC__/Wechat/js/fastclick.js"></script>
    <script src="__PUBLIC__/Wechat/js/jquery-weui.js"></script>
    <script>
        $(function() {
            FastClick.attach(document.body);
        });
    </script>

</body>
</html>
